﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataType;
using Google.GData.Client;
using Google.Contacts;
using Google.Documents; 

namespace RemoteConnector
{
    public interface IRemoteConnector
    {
        void Login(Object sender, Credentials cred);
        void LogOut();
        void GetContacts(Object sender, FeedWrapper<Contact> feed);
        void GetDocuments(Object sender, FeedWrapper<Document> feed);
        void AddContact(Object sender, ContactInfo contact); 

        void UploadDocument(Object sender, DocumentInfo doc);
        void UpdateDocument(Object sender, DocumentInfo doc);
        
        //Get structured list of docs
        void GetFolders(Object sender, FeedWrapper<Document> feed);
        void DownloadDocument(Object sender, DownloadInfo info);
        void ShareDocument(Object sender, ShareInfoCollection info);
        void GetDocumentAcl(Object sender, ShareInfoCollection info); 

        void OpenDocumentInCloud(Object sender, DocumentInfo doc);
        void LookForDocument(Object sender, DocumentInfo info); 
    }
}
